package com.hebeu.gfh.mapper;

import com.hebeu.gfh.pojo.po.ClubFollow;
import com.hebeu.gfh.pojo.po.Clubs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
@ResponseBody
@Mapper
public interface clubFollowMapper {
    public int findClubNumByuserId(int userId);

    public List<Clubs> findClubByuserId(int userId);

    public ClubFollow findFollowByuserIdAndClubId(ClubFollow clubFollow);

    public void addFollow(ClubFollow clubFollow);

    public void deleteFollow(ClubFollow clubFollow);
}
